package com.anmi.alfred.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "elasticsearch")
public class ElasticsearchProp {

  // 集群名称
  private String clusterName;

  // ip
  private String nodes;

  private String user;

  private String password;

  {
    user = "";
    password = "";
  }
}
